package com.web.springcloud.entities;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@AllArgsConstructor
//@NoArgsConstructor
@Data
@Accessors(chain = true)
public class Dept implements Serializable{
    /**
     *  部门编码 主键
     */
    private Long deptNo;
    /**
     * 部门名称
     */
    private String deptName;
    /**
     * 数据库名称
     */
    private String dbSource;

    public Dept(){
        super();
    }

    public Dept(String dbname){
        super();
        this.dbSource = dbname;
    }

}
